TextBox Class

Represents a text box. This element may be used to place text in a container that is outside of the flow of the document.

Definition

Namespace: Independentsoft.Office.Odf.Drawing
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#
public class TextBox : FrameContentElement
Inheritance
Object    FrameContentElement    TextBox

Constructors

TextBox Initializes a new instance of the TextBox class.

Properties

Chain Specifies the name that is used to chain text boxes together for cases where the content of a text box exceeds its capacity.
Content Contains a collection of ITextContent objects.
CornerRadius Specifies the radius of the circle used to round off the corners of a caption, rectangle, or a text-box.
MaxHeight Specifies the maximum height of a text box.
MaxWidth Specifies the maximum width of a text box.
MinHeight If set, it overrides the height of a text box.
MinWidth If set, it overrides the width of a text box.

Methods

Add(Change) Adds a Change object to the content.
Add(ChangeEnd) Adds a ChangeEnd object to the content.
Add(ChangeStart) Adds a ChangeStart object to the content.
Add(Heading) Adds a Heading object to the content.
Add(IndexOfIllustrations) Adds a IndexOfIllustrations object to the content.
Add(ITextContent) Adds a ITextContent object to the content.
Add(List) Adds a List object to the content.
Add(Paragraph) Adds a Paragraph object to the content.
Add(Section) Adds a Section object to the content.
Add(Shape) Adds a Shape object to the content.
Add(SoftPageBreak) Adds a SoftPageBreak object to the content.
Add(Table) Adds a Table object to the content.
Add(TableOfContents) Adds a TableOfContents object to the content.
Clone Creates a new object that is a deep copy of the current instance.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetContentElements Returns all content elements.
(Overrides FrameContentElementGetContentElements)
GetHashCode
(Inherited from Object)
GetParent Returns the parent element.
(Inherited from FrameContentElement)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString Converts the value of the current TextBox object to its equivalent string representation.
(Overrides ObjectToString)

See Also